package com.xxr.mom.ci.charging.bill.feign;

import com.xxr.mom.ci.charging.bill.dto.HlhtAuthRequest;
import com.xxr.mom.ci.charging.bill.dto.HlhtAuthResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @description: ChargingFeign
 * @date: 2024/8/12 20:53
 * @author: natsuki_kining
 * @version: 1.0
 */
@FeignClient("charging-bill")
public interface ChargingFeign {

    /**
     * 互联互通请求设备认证
     * @param authRequest HlhtAuthRequest
     */
    @PostMapping("/hlhtAuth")
    HlhtAuthResponse hlhtAuth(HlhtAuthRequest authRequest);

    /**
     * 互联互通请求启动充电
     * @param authRequest HlhtAuthRequest
     */
    @PostMapping("queryStartCharge")
    void queryStartCharge(HlhtAuthRequest authRequest);
}
